<div id="results"></div>
<script type="text/javascript">
$(document).ready(function(){
    ajaxPaginate(0);
});
function ajaxPaginate(page){
    var advertiser = $("#frm_search #advertiser").val();
    var item = $("#frm_search #item").val();
    var yell_page = $("#frm_search #yell_page").val();
    var data = "";

    data = data+"advertiser="+advertiser+"&item="+item+"&yell_page="+yell_page;
    if(page!=0){
        data = data+"&page="+page;
    }

    $.ajax({
        type: "post",
        url: "<?php echo url_for('@ajax_search') ?>",
        data: data,
        success: function(html){
            $("#results").html(html);
        }
    });
}
</script>